Skip to main content
Glama

Edit-MCP

mod.rs972 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //! Provides various high-throughput utilities. pub mod lines_bwd; pub mod lines_fwd; mod memchr2; mod memset; pub use lines_bwd::*; pub use lines_fwd::*; pub use memchr2::*; pub use memset::*; #[cfg(test)] mod test { // Knuth's MMIX LCG pub fn make_rng() -> impl FnMut() -> usize { let mut state = 1442695040888963407u64; move || { state = state.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407); state as usize } } pub fn generate_random_text(len: usize) -> String { const ALPHABET: &[u8; 20] = b"0123456789abcdef\n\n\n\n"; let mut rng = make_rng(); let mut res = String::new(); for _ in 0..len { res.push(ALPHABET[rng() % ALPHABET.len()] as char); } res } pub fn count_lines(text: &str) -> usize { text.lines().count() } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mixelpixx/microsoft-edit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server